package com.levenx.service.support;

import com.levenx.constant.ResultStatus;
import com.levenx.service.ReportService;
import com.levenx.vo.Result;
import com.levenx.vo.support.DefaultResult;
import com.levenx.web.annotation.ParamType;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;

@Service("defaultReport")
@ParamType(clazz = DefaultResult.class)
public class DefaultReportServiceImpl implements ReportService<DefaultResult> {

    private final int status = ResultStatus.NO_SERVICE;

    private final String massage = "NO_SERVICE";

    @Override
    public Result<?> search(DefaultResult DefaultResult, int pn, int ps) {
        return null;
    }

    @Override
    @ParamType(clazz = DefaultResult.class)
    public Result<?> count(DefaultResult object) {
        return Result.newResult();
    }

    @Override
    public void export(DefaultResult object, HttpServletResponse response) {

    }

    @Override
    public Result<?> chart(DefaultResult object) {
        return null;
    }
}
